package com.richest.api.dao;

import java.util.List;
import java.util.Map;

import com.richest.bean.CommodityTypeBean;

/**
 * 商品类别信息实体映射
 * 
 * @author 杨博
 * @version richest-api 2.0
 *
 */
public interface CommodityTypeMapper {
	Integer commodityTypeAdd(CommodityTypeBean bean);

	Integer commodityTypeUpdate(CommodityTypeBean bean);

	Integer commodityTypeDelete(Long id);

	CommodityTypeBean commodityTypeSelectOne(Long id);

	List<Map<String, Object>> commodityTypeSelectMap(Map<String, Object> params);
}
